#include "jsUtil.h"

#include <QFile>
#include <QTextStream>

QString Osgis::readScript( const char* fileName )
{
	QFile scriptFile(fileName);
	if(!scriptFile.open(QIODevice::ReadOnly))
		return NULL;
	QTextStream stream(&scriptFile);
	QString contents = stream.readAll();
	scriptFile.close();
	return contents;
}
